x = 0;
for i in range(1,10001):
    x+=i
print(x)
